package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备对象 device
 * 
 * @author ruoyi
 * @date 2024-12-22
 */
public class Device extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录编号 */
    private Long deviceId;

    /** 设备号 */
    @Excel(name = "设备号")
    private Long deviceNum;

    /** 温度 */
    @Excel(name = "温度")
    private String deviceTem;

    /** 车间编号 */
    @Excel(name = "车间编号")
    private String deptId;

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceNum(Long deviceNum) 
    {
        this.deviceNum = deviceNum;
    }

    public Long getDeviceNum() 
    {
        return deviceNum;
    }
    public void setDeviceTem(String deviceTem) 
    {
        this.deviceTem = deviceTem;
    }

    public String getDeviceTem() 
    {
        return deviceTem;
    }
    public void setDeptId(String deptId) 
    {
        this.deptId = deptId;
    }

    public String getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("deviceNum", getDeviceNum())
            .append("deviceTem", getDeviceTem())
            .append("deptId", getDeptId())
            .toString();
    }
}
